<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>LIF041-Infographie: Référence du fichier /home/the-king/LIFO41/lifo41-tp-infographie/Camera.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LIF041-Infographie</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_camera_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#enum-members">Énumérations</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier /home/the-king/LIFO41/lifo41-tp-infographie/Camera.h</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_vec3f_8h_source.html">Vec3f.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de Camera.h:</div>
<div class="dyncontent">
<div class="center"><img src="_camera_8h__incl.png" border="0" usemap="#_2home_2the-king_2_l_i_f_o41_2lifo41-tp-infographie_2_camera_8h" alt=""/></div>
<!-- MAP 0 -->
</div>
</div><div class="textblock"><div class="dynheader">
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :</div>
<div class="dyncontent">
<div class="center"><img src="_camera_8h__dep__incl.png" border="0" usemap="#_2home_2the-king_2_l_i_f_o41_2lifo41-tp-infographie_2_camera_8hdep" alt=""/></div>
<!-- MAP 1 -->
</div>
</div>
<p><a href="_camera_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_camera.html">Camera</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A camera is defined by a position and 2 angles of rotations (defining the orientation)  <a href="struct_camera.html#details">Plus de détails...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Énumérations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3">Camera_FlyTrackball</a> { <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3aab640808376391dfcab7f172d716fce7">CAMERA_FLY</a> = 0, 
<a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3a9832a4ce720e1bed4a2cdfac7d099d64">CAMERA_TRACKBALL</a> = 1
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786d">DIR</a> { <br/>
&#160;&#160;<a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786da76bd5ec6ea9d8a1b582d8d5e43102a02">FRONT</a>, 
<a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786dac921ff2cfc571c1d19b0485d7f6926ee">BACK</a>, 
<a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786dadb45120aafd37a973140edee24708065">LEFT</a>, 
<a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786daec8379af7490bb9eaaf579cf17876f38">RIGHT</a>, 
<br/>
&#160;&#160;<a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786daba595d8bca8bc5e67c37c0a9d89becfa">UP</a>, 
<a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786da9b0b4a95b99523966e0e34ffdadac9da">DOWN</a>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9ce">CAMERA_MODE</a> { <a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9cea6f86769678297fbf3cc4742a8bce4b08">CAMERA_STOP</a>, 
<a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9ceaa773dfd7b41128024e2c03690daa3fe4">CAMERA_ROTATION</a>, 
<a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9cea3b27179d16d00292c38c69b95629438b">CAMERA_TRANSLATION</a>
 }</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a206a19955e773f77b6adde99cf050882">camInit</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3">Camera_FlyTrackball</a> ft=CAMERA_TRACKBALL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a2752f3a061dc5963c7ace66ef8514150">camComputeDirFront</a> (const <a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;dir)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a0c2ffedc8529ec20b7ece7f76c7423e5">camSetFlyTrackballMode</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3">Camera_FlyTrackball</a> m)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#aab591e60d2af091aed8880d3d2892f55">camSetGL</a> (const <a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#abbae455caebd8596c16bdfb32423fe0b">camTurnUpDown</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const float stepR=2.f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a3c9cef1616ec20ebae9496508ea90d69">camTurnLeftRight</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const float stepR=2.f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786d">DIR</a> where, const float c=1.f)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a9952be394a8f5e167969016ea228047e">camStartMove</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const <a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9ce">CAMERA_MODE</a> mode, const int x, const int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#aa3f52e75bb54fd6415396885c771affa">camMove</a> (<a class="el" href="struct_camera.html">Camera</a> &amp;<a class="el" href="opengl_8cpp.html#a3b23650c3f80b53cee3a2c471797c732">cam</a>, const int x, const int y)</td></tr>
</table>
<hr/><h2>Documentation du type de l'énumération</h2>
<a class="anchor" id="ae81b31bb7a62f93c5e65c8677e1571e3"></a><!-- doxytag: member="Camera.h::Camera_FlyTrackball" ref="ae81b31bb7a62f93c5e65c8677e1571e3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3">Camera_FlyTrackball</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Valeurs énumérées: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ae81b31bb7a62f93c5e65c8677e1571e3aab640808376391dfcab7f172d716fce7"></a><!-- doxytag: member="CAMERA_FLY" ref="ae81b31bb7a62f93c5e65c8677e1571e3aab640808376391dfcab7f172d716fce7" args="" -->CAMERA_FLY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae81b31bb7a62f93c5e65c8677e1571e3a9832a4ce720e1bed4a2cdfac7d099d64"></a><!-- doxytag: member="CAMERA_TRACKBALL" ref="ae81b31bb7a62f93c5e65c8677e1571e3a9832a4ce720e1bed4a2cdfac7d099d64" args="" -->CAMERA_TRACKBALL</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="ac4b5690f4eeff9e93cedfa2c72a2d9ce"></a><!-- doxytag: member="Camera.h::CAMERA_MODE" ref="ac4b5690f4eeff9e93cedfa2c72a2d9ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9ce">CAMERA_MODE</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Valeurs énumérées: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ac4b5690f4eeff9e93cedfa2c72a2d9cea6f86769678297fbf3cc4742a8bce4b08"></a><!-- doxytag: member="CAMERA_STOP" ref="ac4b5690f4eeff9e93cedfa2c72a2d9cea6f86769678297fbf3cc4742a8bce4b08" args="" -->CAMERA_STOP</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ac4b5690f4eeff9e93cedfa2c72a2d9ceaa773dfd7b41128024e2c03690daa3fe4"></a><!-- doxytag: member="CAMERA_ROTATION" ref="ac4b5690f4eeff9e93cedfa2c72a2d9ceaa773dfd7b41128024e2c03690daa3fe4" args="" -->CAMERA_ROTATION</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ac4b5690f4eeff9e93cedfa2c72a2d9cea3b27179d16d00292c38c69b95629438b"></a><!-- doxytag: member="CAMERA_TRANSLATION" ref="ac4b5690f4eeff9e93cedfa2c72a2d9cea3b27179d16d00292c38c69b95629438b" args="" -->CAMERA_TRANSLATION</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a49eb6ac4643553d04b85c70646c6786d"></a><!-- doxytag: member="Camera.h::DIR" ref="a49eb6ac4643553d04b85c70646c6786d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786d">DIR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Valeurs énumérées: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a49eb6ac4643553d04b85c70646c6786da76bd5ec6ea9d8a1b582d8d5e43102a02"></a><!-- doxytag: member="FRONT" ref="a49eb6ac4643553d04b85c70646c6786da76bd5ec6ea9d8a1b582d8d5e43102a02" args="" -->FRONT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a49eb6ac4643553d04b85c70646c6786dac921ff2cfc571c1d19b0485d7f6926ee"></a><!-- doxytag: member="BACK" ref="a49eb6ac4643553d04b85c70646c6786dac921ff2cfc571c1d19b0485d7f6926ee" args="" -->BACK</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a49eb6ac4643553d04b85c70646c6786dadb45120aafd37a973140edee24708065"></a><!-- doxytag: member="LEFT" ref="a49eb6ac4643553d04b85c70646c6786dadb45120aafd37a973140edee24708065" args="" -->LEFT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a49eb6ac4643553d04b85c70646c6786daec8379af7490bb9eaaf579cf17876f38"></a><!-- doxytag: member="RIGHT" ref="a49eb6ac4643553d04b85c70646c6786daec8379af7490bb9eaaf579cf17876f38" args="" -->RIGHT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a49eb6ac4643553d04b85c70646c6786daba595d8bca8bc5e67c37c0a9d89becfa"></a><!-- doxytag: member="UP" ref="a49eb6ac4643553d04b85c70646c6786daba595d8bca8bc5e67c37c0a9d89becfa" args="" -->UP</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a49eb6ac4643553d04b85c70646c6786da9b0b4a95b99523966e0e34ffdadac9da"></a><!-- doxytag: member="DOWN" ref="a49eb6ac4643553d04b85c70646c6786da9b0b4a95b99523966e0e34ffdadac9da" args="" -->DOWN</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a2752f3a061dc5963c7ace66ef8514150"></a><!-- doxytag: member="Camera.h::camComputeDirFront" ref="a2752f3a061dc5963c7ace66ef8514150" args="(const Camera &amp;cam, Vec3f &amp;dir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camComputeDirFront </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3aab640808376391dfcab7f172d716fce7">CAMERA_FLY</a>, <a class="el" href="struct_camera.html#a2bb20741a5b38d263e265e1f4626c4ea">Camera::flyOrTrackball</a>, <a class="el" href="struct_camera.html#aaa7eaab22236f016fd933666bd90c741">Camera::pos</a>, <a class="el" href="_vec3f_8cpp.html#abbcf5b5ffcc3a0891c1fc9d8a864d56d">rad()</a>, <a class="el" href="struct_camera.html#ac57d1defa445dd3814fe152297de5420">Camera::rotLeft</a>, <a class="el" href="struct_camera.html#a9fb5412919bf0f15368be9144a78845d">Camera::rotUp</a>, <a class="el" href="_vec3f_8cpp.html#a54ed0dadd24fcc09a03cd706e3b5140d">vecInit()</a>, <a class="el" href="_vec3f_8cpp.html#a1c94f47fef6168c9a27f4a2ce3d78394">vecNormalize()</a>, <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_camera_8h_a2752f3a061dc5963c7ace66ef8514150_cgraph.png" border="0" usemap="#_camera_8h_a2752f3a061dc5963c7ace66ef8514150_cgraph" alt=""/></div>
<!-- MAP 2 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="a206a19955e773f77b6adde99cf050882"></a><!-- doxytag: member="Camera.h::camInit" ref="a206a19955e773f77b6adde99cf050882" args="(Camera &amp;cam, const Camera_FlyTrackball ft=CAMERA_TRACKBALL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3">Camera_FlyTrackball</a>&#160;</td>
          <td class="paramname"><em>ft</em> = <code>CAMERA_TRACKBALL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="struct_camera.html#a2bb20741a5b38d263e265e1f4626c4ea">Camera::flyOrTrackball</a>, <a class="el" href="struct_camera.html#a5cd3d313b4870adbaa4dd2eac63be842">Camera::mode</a>, <a class="el" href="struct_camera.html#aaa7eaab22236f016fd933666bd90c741">Camera::pos</a>, <a class="el" href="struct_camera.html#ac57d1defa445dd3814fe152297de5420">Camera::rotLeft</a>, <a class="el" href="struct_camera.html#a9fb5412919bf0f15368be9144a78845d">Camera::rotUp</a>, <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#a0c2ffedc8529ec20b7ece7f76c7423e5">camSetFlyTrackballMode()</a>, <a class="el" href="opengl_8h.html#af4aea5b4ac6ba7a709a9e7660e227d50">GLInit()</a>, et <a class="el" href="opengl_8h.html#ae49b22892a1276b5e664963496a34177">keyPressed()</a>.</p>

</div>
</div>
<a class="anchor" id="aa3f52e75bb54fd6415396885c771affa"></a><!-- doxytag: member="Camera.h::camMove" ref="aa3f52e75bb54fd6415396885c771affa" args="(Camera &amp;cam, const int x, const int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786dac921ff2cfc571c1d19b0485d7f6926ee">BACK</a>, <a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9ceaa773dfd7b41128024e2c03690daa3fe4">CAMERA_ROTATION</a>, <a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9cea3b27179d16d00292c38c69b95629438b">CAMERA_TRANSLATION</a>, <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>, <a class="el" href="_camera_8h.html#a3c9cef1616ec20ebae9496508ea90d69">camTurnLeftRight()</a>, <a class="el" href="_camera_8h.html#abbae455caebd8596c16bdfb32423fe0b">camTurnUpDown()</a>, <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786da76bd5ec6ea9d8a1b582d8d5e43102a02">FRONT</a>, <a class="el" href="struct_camera.html#a5cd3d313b4870adbaa4dd2eac63be842">Camera::mode</a>, <a class="el" href="struct_camera.html#ae7fd0a6e3298ff5c054f0769160e57cc">Camera::mx</a>, et <a class="el" href="struct_camera.html#a4a197430101d1f40bbf49555f1872b05">Camera::my</a>.</p>

<p>Référencé par <a class="el" href="opengl_8cpp.html#a84de7cfc2df77868e20228dba150b7f3">processMouseActiveMotion()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_camera_8h_aa3f52e75bb54fd6415396885c771affa_cgraph.png" border="0" usemap="#_camera_8h_aa3f52e75bb54fd6415396885c771affa_cgraph" alt=""/></div>
<!-- MAP 3 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="a0c2ffedc8529ec20b7ece7f76c7423e5"></a><!-- doxytag: member="Camera.h::camSetFlyTrackballMode" ref="a0c2ffedc8529ec20b7ece7f76c7423e5" args="(Camera &amp;cam, const Camera_FlyTrackball m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camSetFlyTrackballMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3">Camera_FlyTrackball</a>&#160;</td>
          <td class="paramname"><em>m</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="_camera_8h.html#a206a19955e773f77b6adde99cf050882">camInit()</a>.</p>

<p>Référencé par <a class="el" href="opengl_8h.html#ae49b22892a1276b5e664963496a34177">keyPressed()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_camera_8h_a0c2ffedc8529ec20b7ece7f76c7423e5_cgraph.png" border="0" usemap="#_camera_8h_a0c2ffedc8529ec20b7ece7f76c7423e5_cgraph" alt=""/></div>
<!-- MAP 4 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="aab591e60d2af091aed8880d3d2892f55"></a><!-- doxytag: member="Camera.h::camSetGL" ref="aab591e60d2af091aed8880d3d2892f55" args="(const Camera &amp;cam)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camSetGL </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="_camera_8h.html#ae81b31bb7a62f93c5e65c8677e1571e3aab640808376391dfcab7f172d716fce7">CAMERA_FLY</a>, <a class="el" href="struct_camera.html#a2bb20741a5b38d263e265e1f4626c4ea">Camera::flyOrTrackball</a>, <a class="el" href="struct_camera.html#aaa7eaab22236f016fd933666bd90c741">Camera::pos</a>, <a class="el" href="struct_camera.html#ac57d1defa445dd3814fe152297de5420">Camera::rotLeft</a>, <a class="el" href="struct_camera.html#a9fb5412919bf0f15368be9144a78845d">Camera::rotUp</a>, <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="opengl_8h.html#a409b3098a72553ca3cc276095ba4fcc9">GLDraw()</a>.</p>

</div>
</div>
<a class="anchor" id="a9952be394a8f5e167969016ea228047e"></a><!-- doxytag: member="Camera.h::camStartMove" ref="a9952be394a8f5e167969016ea228047e" args="(Camera &amp;cam, const CAMERA_MODE mode, const int x, const int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camStartMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="_camera_8h.html#ac4b5690f4eeff9e93cedfa2c72a2d9ce">CAMERA_MODE</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="struct_camera.html#a5cd3d313b4870adbaa4dd2eac63be842">Camera::mode</a>, <a class="el" href="struct_camera.html#ae7fd0a6e3298ff5c054f0769160e57cc">Camera::mx</a>, et <a class="el" href="struct_camera.html#a4a197430101d1f40bbf49555f1872b05">Camera::my</a>.</p>

<p>Référencé par <a class="el" href="opengl_8cpp.html#a4a61166b2fc26ed194bafe25850d5dbf">processMouse()</a>.</p>

</div>
</div>
<a class="anchor" id="a3562de3314274820a3f25e03ee9a3595"></a><!-- doxytag: member="Camera.h::camTranslate" ref="a3562de3314274820a3f25e03ee9a3595" args="(Camera &amp;cam, const DIR where, const float c=1.f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camTranslate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786d">DIR</a>&#160;</td>
          <td class="paramname"><em>where</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>c</em> = <code>1.f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786dac921ff2cfc571c1d19b0485d7f6926ee">BACK</a>, <a class="el" href="_camera_8h.html#a2752f3a061dc5963c7ace66ef8514150">camComputeDirFront()</a>, <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786da9b0b4a95b99523966e0e34ffdadac9da">DOWN</a>, <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786da76bd5ec6ea9d8a1b582d8d5e43102a02">FRONT</a>, <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786dadb45120aafd37a973140edee24708065">LEFT</a>, <a class="el" href="struct_camera.html#aaa7eaab22236f016fd933666bd90c741">Camera::pos</a>, <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786daec8379af7490bb9eaaf579cf17876f38">RIGHT</a>, <a class="el" href="_camera_8h.html#a49eb6ac4643553d04b85c70646c6786daba595d8bca8bc5e67c37c0a9d89becfa">UP</a>, <a class="el" href="_vec3f_8cpp.html#a4d22258d1021383e38583a2a69ed1843">vecAdd()</a>, <a class="el" href="_vec3f_8cpp.html#a66d8205538c53312775745ff729de541">vecCross()</a>, <a class="el" href="_vec3f_8cpp.html#a54ed0dadd24fcc09a03cd706e3b5140d">vecInit()</a>, <a class="el" href="_vec3f_8cpp.html#ac64a94c5bb8b6324dbd629cb1f13c95a">vecLength()</a>, <a class="el" href="_vec3f_8cpp.html#abe76b44875ddd84236caacc0d016e20a">vecMul()</a>, et <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#aa3f52e75bb54fd6415396885c771affa">camMove()</a>, et <a class="el" href="opengl_8h.html#ab855b7746083d623a6fe71a9a5c76406">specialKeyPressed()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_camera_8h_a3562de3314274820a3f25e03ee9a3595_cgraph.png" border="0" usemap="#_camera_8h_a3562de3314274820a3f25e03ee9a3595_cgraph" alt=""/></div>
<!-- MAP 5 -->
</div>
</p>

</div>
</div>
<a class="anchor" id="a3c9cef1616ec20ebae9496508ea90d69"></a><!-- doxytag: member="Camera.h::camTurnLeftRight" ref="a3c9cef1616ec20ebae9496508ea90d69" args="(Camera &amp;cam, const float stepR=2.f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camTurnLeftRight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>stepR</em> = <code>2.f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="struct_camera.html#ac57d1defa445dd3814fe152297de5420">Camera::rotLeft</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#aa3f52e75bb54fd6415396885c771affa">camMove()</a>, et <a class="el" href="opengl_8h.html#ab855b7746083d623a6fe71a9a5c76406">specialKeyPressed()</a>.</p>

</div>
</div>
<a class="anchor" id="abbae455caebd8596c16bdfb32423fe0b"></a><!-- doxytag: member="Camera.h::camTurnUpDown" ref="abbae455caebd8596c16bdfb32423fe0b" args="(Camera &amp;cam, const float stepR=2.f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void camTurnUpDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_camera.html">Camera</a> &amp;&#160;</td>
          <td class="paramname"><em>cam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>stepR</em> = <code>2.f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Références <a class="el" href="struct_camera.html#a9fb5412919bf0f15368be9144a78845d">Camera::rotUp</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#aa3f52e75bb54fd6415396885c771affa">camMove()</a>, et <a class="el" href="opengl_8h.html#ab855b7746083d623a6fe71a9a5c76406">specialKeyPressed()</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_camera_8h.html">Camera.h</a>      </li>
      <li class="footer">Généré le Tue Jan 3 2012 09:33:59 pour LIF041-Infographie par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
